package com._21cn.cms.site.service;

import com._21cn.framework.base.db.BaseDao;
import com._21cn.framework.base.service.impl.BaseServiceImpl;

import com._21cn.cms.site.dao.SiteDao;
import com._21cn.cms.site.entity.Site;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;


@Transactional(propagation=Propagation.REQUIRED, rollbackFor=Exception.class)
@Service("siteService")
public class SiteService extends BaseServiceImpl<Site> {
	
    @Autowired
    private SiteDao siteDao;

    @Override
    protected BaseDao<Site> getBaseDao() {
        return siteDao;
    }

}